// export const api_base_url = 'https://www.easy-mock.com/mock/5c35a4a1a7a7577b357b45a2/base';
export const api_base_url = 'http://localhost:3000';

export const errorMap = {
    '500': {
        code: 500,
        _message: '服务器异常',
        data: null,
    },
    timeout: {
        code: -1,
        _message: '请求超时',
        data: null,
    },
    default: {
        code: 0,
        _message: '请求失败',
        data: null,
    }
};